Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libpeer's mqtt network recovery and reconnection #187

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

topworldcoder
Copy link
Contributor

Hi, I have some suggestions for changes to libpeer's mqtt network recovery and reconnection. Please refer to my changes and hope it will be helpful to libpeer.

stun.c uses "PRIu32" in LOGD, <inttypes.h> is required
Try to reconnect mqtt, use ports_resolve_addr at peer_signaling_mqtt_connect_subscribe to avoid some errors before MQTT_Connect(For example, if the network is disconnected, MQTT_Connect will fail repeatedly.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant